local QI = DailyIntake.QuestItems;

-- =============================================================
-- Added by LaoTseu
-- =============================================================

-- Add item: Place holder item for macro;
QI.RegisterQuestItem(-26235, QI.Priority.Normal, function()
	-- Even Thieves Get Hungry; http://www.wowhead.com/quest=26235
	local isUsable =  GetZoneText() == "Orgrimmar" and
			not QI.QuestIsDoneOrNotTaken(26235)

	local macroText =
[[/run DailyIntake.QuestItems.DisableMacroRefresh()
/target [nodead] Orgrimmar Thief
/cleartarget [@target, dead]
/script if not GetRaidTargetIndex("target") then SetRaidTarget("target",8) end
/run DailyIntake.QuestItems.EnableMacroRefresh()]]

	return isUsable, macroText, 418
end);

-- Add item: Stag Eye; http://www.wowhead.com/?item=58949
QI.RegisterQuestItem(58949, QI.Priority.High, function()
	-- A Staggering Effort: http://www.wowhead.com/?quest=26557
	return 	GetZoneText() == "Orgrimmar" and
				GetSubZoneText() == "Valley of Wisdom" and
				not QI.QuestIsDone(26557)

end);

-- Add item: Place holder item for macro;
QI.RegisterQuestItem(-26226, QI.Priority.Normal, function()
	-- Crawfish Creole; http://www.wowhead.com/quest=26226
	local isUsable =  GetZoneText() == "Orgrimmar" and
			not QI.QuestIsDoneOrNotTaken(26226)

	local macroText =
[[/run DailyIntake.QuestItems.DisableMacroRefresh()
/target [nodead] Muddy Crawfish
/cleartarget [@target, dead]
/script if not GetRaidTargetIndex("target") then SetRaidTarget("target",1) end
/run DailyIntake.QuestItems.EnableMacroRefresh()]]

	return isUsable, macroText, 418
end);

-- Add item: Place holder item for macro;
QI.RegisterQuestItem(-26220, QI.Priority.Low, function()
	-- Everything Is Better with Bacon; http://www.wowhead.com/quest=26220
	local isUsable =  GetZoneText() == "Durotar" and
							(GetSubZoneText() == "The Dranosh'ar Blockade" or
							 GetSubZoneText() == "Rocktusk Farm") and
							not QI.QuestIsDoneOrNotTaken(26220)

	local macroText =
[[/run DailyIntake.QuestItems.DisableMacroRefresh()
/target [nodead] Wild Mature Swine
/cleartarget [@target, dead]
/script if not GetRaidTargetIndex("target") then SetRaidTarget("target",8) end
/run DailyIntake.QuestItems.EnableMacroRefresh()]]

	return isUsable, macroText, 418
end);
